package com.bgs.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * <p>
 * 绩效表
 * </p>
 *
 * @author cui
 * @since 2022-05-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Achievements对象", description="绩效表")
public class Achievements {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键id")
    private Integer aid;

    @ApiModelProperty(value = "考核员工id")
    private Integer employees;

    @ApiModelProperty(value = "考核计划名字")
    private String aname;

    @ApiModelProperty(value = "部门id")
    private Integer department;

    @ApiModelProperty(value = "考核状态（1已完成  2进行中）")
    private Integer status;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(value = "考核时间")
    private LocalDateTime time;

    @ApiModelProperty(value = "考核周期")
    private String cycle;

    @ApiModelProperty(value = "评分")
    private String score;

    @ApiModelProperty(value = "评语")
    private String comment;

    @ApiModelProperty(value = "评分人")
    private String rater;

    @ApiModelProperty(value = "姓名")
    private String name;


}
